package com.lsmo.android.carfans.activity.news;

import java.util.ArrayList;
import java.util.List;

import com.lsmo.android.carfans.R;
import com.lsmo.android.carfans.model.news.News;

/**
 * 测试数据
 * @author Administrator
 *
 */
public class TestNewsData {
	public News[] getNewsData()
	{
		List<News> list=new ArrayList<News>();
		for (int i = 0; i < 20; i++) {
			News news=new News();
			news.setImgId(R.drawable.news_main_layout_item);
			news.setSummary("摘要"+i+".......");
			news.setTitle("标题"+i);
			list.add(news);
		}
		
		return list.toArray(new News[]{});
	}
}
